<template>
  <view class="reuse">
    <view class="btitle">
      -- {{props.title}} --
    </view>
      <slot></slot>
  </view>
</template>

<script setup>
  //接收标题数据
 const props = defineProps({
   // 标题
  title:{
     default:""
   },
 })
</script>

<style scoped lang="scss">
  .reuse {
    margin-top: 20rpx;
    background-color: #ffffff;
    padding: 0rpx 20rpx;
    padding-bottom: 20rpx;
    .btitle {
      height: 120rpx;
      font-weight: 700;
      line-height: 120rpx;
      text-align: center;
    }

  }
</style>
